package com.wo.cloud.cloud.config;

import com.wo.cloud.cloud.filter.TenantContextHolderFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/4/14 21:11
 * Description:
 */
@Configuration
//@EnableConfigurationProperties(MateRequestProperties.class)
public class RequestConfiguration {

    @Bean
    public TenantContextHolderFilter tenantContextHolderFilter() {
        return new TenantContextHolderFilter();
    }

}